#ifndef _DATABASE_H
#define _DATABASE_H

#include <afx.h>
#include "centroid.h"

class Database: public CObject
{
DECLARE_SERIAL( Database )

private:
	CentroidList m_list;
	CFile m_file;
	const TCHAR *m_file_name;
public:
	Database();
	Database(const TCHAR*);
	virtual ~Database(void);

	void Serialize( CArchive& archive );

	CentroidList& centroid_list();
};



#endif // _DATABASE_H